<?php
namespace App\Models\Admin;

class JobCommentModel extends BaseModel
{
    /**
     * 岗位
     */

    protected $table = 'jobs_comment';
    protected $fillable = [
        'id','uid','recruit','level','detail','del','created_at','updated_at',
    ];

    /**
     * uid 用户UID
     * recruit 招聘流程ID
     * level 评价等级：1差评，2一般，3好评
     * detail 评价的内容
     */

    public function getLevels()
    {
        return array(
            1 => '差评', '一般', '好评',
        );
    }
}